#!/usr/bin/env python
# -*- coding:utf-8 -*-
# @Time : 2022-3-2 11:13
# @Author : huabao.tan
# @File : db_comm.py
# @Software: PyCharm
# import pymysql
# from dbutils.pooled_db import PooledDB
#
# class PoolMysql:
#
#     def __init__(self):
#         self.pool = PooledDB(pymysql, 50, host=DB_HOST, port=DB_PORT, database=DB_NAME, user=DB_USER, password=DB_PASS)
#         self.conn = self.pool.connection()
#         self.cur = self.conn.cursor()
#
#
#
#     def execute(self, sql):
#         self.cur.execute()
#
#
#     def comment(self):
#         self.cur.comment()
#
#
#     def close(self):
#         self.conn.close()
#         self.cur.closer()
